home *** CD-ROM | disk | FTP | other *** search
- u
- GETTING STARTED
- with DotBASIC
- by Dave Moorman
-
- The [very] first thing you need to
- do to create a program in DotBASIC is
- to draw a screen, assign at least one
- Event Region, and save it as a MED
- file. This is all done with VDOT --
- and step-by-step instructions are
- included in the VDOT Read It file to
- create MED file for a program called
- "Howdy."
-
- So, when your "howdy.med" file is
- ready, be sure you have copied these
- three files to your work disk:
-
- b.dot
- dot.ml
- dot.dot
-
- Now you are ready to go.
-
- 1. LOAD "b.dot"
-
- 2. LIST 60008
-
- 60008 N$="DOT"
-
- 3. Edit this line to:
-
- 60008 N$="HOWDY"
-
- 4. Save your Boot with
-
- GOTO60000
-
- 5. RUN the program.
-
- 6. After some quick writing on the
- screen and the flash screen, you will
- see:
-
- 1000 return:rl1
- 2000 return:rl2
-
- undef'd line number error
-
- Move your cursor up and press <RETURN>
- on each line number. Then
-
- GOTO60000
-
- 7. Reset your computer, and
-
- LOAD"HOWDY",dv (dv=drive #)
-
- and
-
- RUN
-
- 8. When the Howdy screen comes up,
- press <BACK ARROW>. Add these lines:
-
- 1000 .bx,0,39,0,24,32,1
- 1002 .tx,1
- 1004 .pc,12,"Howdy, Everyone!"
- 1006 .pc,24,"Press Key or Click to
- Exit"
- 1008 poke198,0
- 1010 .do:.ma:.un l2% or peek(198)
- 1012 poke198,0
- 1014 .er:return
-
-
- 2000 .ru,210,215
- 2002 e%=i%
- 2004 .er:return
-
- 9. GOTO60000
-
- 10. RUN
-
-
- That's it. Now read through the
- docs for DotBASIC and figure out what
- in the world you did!
-
- DMM
-
-
-